# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'TPVBocateria.ui'
#
# Created: Fri Jun 20 13:55:10 2014
#      by: PyQt4 UI code generator 4.11
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_tpvPrincipal(object):
    def setupUi(self, tpvPrincipal):
        tpvPrincipal.setObjectName(_fromUtf8("tpvPrincipal"))
        tpvPrincipal.resize(487, 297)
        tpvPrincipal.setMinimumSize(QtCore.QSize(487, 297))
        tpvPrincipal.setMaximumSize(QtCore.QSize(487, 297))
        tpvPrincipal.setSizeIncrement(QtCore.QSize(487, 287))
        tpvPrincipal.setBaseSize(QtCore.QSize(487, 297))
        self.centralwidget = QtGui.QWidget(tpvPrincipal)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.pantallaTotal = QtGui.QLCDNumber(self.centralwidget)
        self.pantallaTotal.setGeometry(QtCore.QRect(250, 20, 211, 51))
        font = QtGui.QFont()
        font.setPointSize(20)
        self.pantallaTotal.setFont(font)
        self.pantallaTotal.setSmallDecimalPoint(True)
        self.pantallaTotal.setNumDigits(5)
        self.pantallaTotal.setDigitCount(5)
        self.pantallaTotal.setMode(QtGui.QLCDNumber.Dec)
        self.pantallaTotal.setProperty("intValue", 0)
        self.pantallaTotal.setObjectName(_fromUtf8("pantallaTotal"))
        self.bTotal = QtGui.QPushButton(self.centralwidget)
        self.bTotal.setGeometry(QtCore.QRect(350, 80, 111, 41))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.bTotal.setFont(font)
        self.bTotal.setObjectName(_fromUtf8("bTotal"))
        self.bSalir = QtGui.QPushButton(self.centralwidget)
        self.bSalir.setGeometry(QtCore.QRect(390, 260, 75, 23))
        self.bSalir.setObjectName(_fromUtf8("bSalir"))
        self.bBorrar = QtGui.QPushButton(self.centralwidget)
        self.bBorrar.setGeometry(QtCore.QRect(20, 210, 75, 23))
        self.bBorrar.setObjectName(_fromUtf8("bBorrar"))
        self.bTotalDia = QtGui.QPushButton(self.centralwidget)
        self.bTotalDia.setGeometry(QtCore.QRect(20, 240, 141, 41))
        self.bTotalDia.setObjectName(_fromUtf8("bTotalDia"))
        self.gridLayoutWidget = QtGui.QWidget(self.centralwidget)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(20, 50, 192, 109))
        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
        self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lRefrescos = QtGui.QLabel(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.lRefrescos.setFont(font)
        self.lRefrescos.setObjectName(_fromUtf8("lRefrescos"))
        self.gridLayout.addWidget(self.lRefrescos, 1, 0, 1, 1)
        self.cantidadCervezas = QtGui.QSpinBox(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.cantidadCervezas.setFont(font)
        self.cantidadCervezas.setMaximum(999)
        self.cantidadCervezas.setObjectName(_fromUtf8("cantidadCervezas"))
        self.gridLayout.addWidget(self.cantidadCervezas, 2, 1, 1, 1)
        self.lCervezas = QtGui.QLabel(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.lCervezas.setFont(font)
        self.lCervezas.setObjectName(_fromUtf8("lCervezas"))
        self.gridLayout.addWidget(self.lCervezas, 2, 0, 1, 1)
        self.cantidadBocatas = QtGui.QSpinBox(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.cantidadBocatas.setFont(font)
        self.cantidadBocatas.setMaximum(999)
        self.cantidadBocatas.setSingleStep(0)
        self.cantidadBocatas.setObjectName(_fromUtf8("cantidadBocatas"))
        self.gridLayout.addWidget(self.cantidadBocatas, 0, 1, 1, 1)
        self.cantidadRefrescos = QtGui.QSpinBox(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.cantidadRefrescos.setFont(font)
        self.cantidadRefrescos.setMaximum(999)
        self.cantidadRefrescos.setObjectName(_fromUtf8("cantidadRefrescos"))
        self.gridLayout.addWidget(self.cantidadRefrescos, 1, 1, 1, 1)
        self.lBocatas = QtGui.QLabel(self.gridLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.lBocatas.setFont(font)
        self.lBocatas.setObjectName(_fromUtf8("lBocatas"))
        self.gridLayout.addWidget(self.lBocatas, 0, 0, 1, 1)
        self.lBocatas_2 = QtGui.QLabel(self.centralwidget)
        self.lBocatas_2.setGeometry(QtCore.QRect(20, 10, 91, 29))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.lBocatas_2.setFont(font)
        self.lBocatas_2.setObjectName(_fromUtf8("lBocatas_2"))
        self.numeroTiquet = QtGui.QLineEdit(self.centralwidget)
        self.numeroTiquet.setGeometry(QtCore.QRect(110, 20, 101, 21))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.numeroTiquet.setFont(font)
        self.numeroTiquet.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.numeroTiquet.setReadOnly(True)
        self.numeroTiquet.setObjectName(_fromUtf8("numeroTiquet"))
        self.fecha = QtGui.QDateEdit(self.centralwidget)
        self.fecha.setGeometry(QtCore.QRect(20, 170, 131, 22))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.fecha.setFont(font)
        self.fecha.setReadOnly(True)
        self.fecha.setObjectName(_fromUtf8("fecha"))
        tpvPrincipal.setCentralWidget(self.centralwidget)

        self.retranslateUi(tpvPrincipal)
        QtCore.QObject.connect(self.bSalir, QtCore.SIGNAL(_fromUtf8("clicked()")), tpvPrincipal.show)
        QtCore.QMetaObject.connectSlotsByName(tpvPrincipal)
        tpvPrincipal.setTabOrder(self.cantidadBocatas, self.cantidadRefrescos)
        tpvPrincipal.setTabOrder(self.cantidadRefrescos, self.cantidadCervezas)
        tpvPrincipal.setTabOrder(self.cantidadCervezas, self.bTotal)
        tpvPrincipal.setTabOrder(self.bTotal, self.bBorrar)
        tpvPrincipal.setTabOrder(self.bBorrar, self.bTotalDia)
        tpvPrincipal.setTabOrder(self.bTotalDia, self.bSalir)
        tpvPrincipal.setTabOrder(self.bSalir, self.numeroTiquet)

    def retranslateUi(self, tpvPrincipal):
        tpvPrincipal.setWindowTitle(_translate("tpvPrincipal", "TPV Bocateria", None))
        self.bTotal.setText(_translate("tpvPrincipal", "Total", None))
        self.bSalir.setText(_translate("tpvPrincipal", "Salir", None))
        self.bBorrar.setText(_translate("tpvPrincipal", "Borrar", None))
        self.bTotalDia.setText(_translate("tpvPrincipal", "Calcular Ventas del día", None))
        self.lRefrescos.setText(_translate("tpvPrincipal", "Total Refrescos", None))
        self.lCervezas.setText(_translate("tpvPrincipal", "Total Cervezas", None))
        self.lBocatas.setText(_translate("tpvPrincipal", "Total Bocadillos", None))
        self.lBocatas_2.setText(_translate("tpvPrincipal", "Nº Tiquet", None))
        self.numeroTiquet.setText(_translate("tpvPrincipal", "0", None))
        self.fecha.setDisplayFormat(_translate("tpvPrincipal", "dd/MM/yyyy", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    tpvPrincipal = QtGui.QMainWindow()
    ui = Ui_tpvPrincipal()
    ui.setupUi(tpvPrincipal)
    tpvPrincipal.show()
    sys.exit(app.exec_())

